{include file="header.html"}
<div id="rightTop">
    <p>语言包</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>
        <li><a class="btn1" href="index.php?app=language&amp;act=add">{$lang.add}</a></li>
    </ul>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <tr class="tatr1">
            <td>语言包ID</td>
            <td>语言包名称</td>
            <td class="table-center">语言包标示</td>
            <td class="table-center">默认语言</td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{foreach from=$languages item=item}-->
        <tr class="tatr2">
            <td class="firstCell">{$item.lang_id}</td>
            <td><span ectype="inline_edit" fieldname="name" fieldid="{$item.lang_id}" required="1" class="node_name editable">{$item.name|escape}</span></td>
            <td class="table-center"><span ectype="inline_edit" fieldname="lang" fieldid="{$item.lang_id}" class="editable" title="{$lang.editable}">{$item.lang}</span></td>
            <td class="table-center">
                <!--{if $item.default_lang}-->
                <img src="templates/style/images/positive_enabled.gif"/>
                <!--{else}-->
                <a href="javascript:drop_confirm('确定要设为默认语言?', 'index.php?app=language&amp;act=set_default&amp;id={$item.lang_id}');">
                <img src="templates/style/images/positive_disabled.gif"/>
                </a>
                <!--{/if}--> 
            </td>
            <td class="handler">
                <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=language&amp;act=drop&amp;id={$item.lang_id}');">{$lang.drop}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="6">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $scatekeyword}-->
    <div id="dataFuncs">
        <div id="batchAction" class="left paddingT15">&nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=language&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
            &nbsp;&nbsp;
           <!-- <input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
        </div>
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <div class="clear"></div>
    </div>
    <!--{/if}-->
</div>
{include file="footer.html"}
